
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-html1"></i>
                    <div class="name">html</div>
                    <div class="fontclass">.icon-html1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-geshishua"></i>
                    <div class="name">格式刷</div>
                    <div class="fontclass">.icon-geshishua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-svgmoban04"></i>
                    <div class="name">投票</div>
                    <div class="fontclass">.icon-svgmoban04</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chexiao"></i>
                    <div class="name">撤销</div>
                    <div class="fontclass">.icon-chexiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchuchaolianjie1"></i>
                    <div class="name">删除超链接1</div>
                    <div class="fontclass">.icon-shanchuchaolianjie1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icxiangmufuhaodaishuzi24px"></i>
                    <div class="name">有序列表</div>
                    <div class="fontclass">.icon-icxiangmufuhaodaishuzi24px</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-duanhouju1"></i>
                    <div class="name">段后距</div>
                    <div class="fontclass">.icon-duanhouju1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-duanqianju1"></i>
                    <div class="name">段前距</div>
                    <div class="fontclass">.icon-duanqianju1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xieti"></i>
                    <div class="name">斜体</div>
                    <div class="fontclass">.icon-xieti</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youduiqi1"></i>
                    <div class="name">右对齐</div>
                    <div class="fontclass">.icon-youduiqi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zuoduiqi2"></i>
                    <div class="name">左对齐</div>
                    <div class="fontclass">.icon-zuoduiqi2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youfudong1"></i>
                    <div class="name">右浮动</div>
                    <div class="fontclass">.icon-youfudong1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zuofudong1"></i>
                    <div class="name">左浮动</div>
                    <div class="fontclass">.icon-zuofudong1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qingkongwendang"></i>
                    <div class="name">清空文档</div>
                    <div class="fontclass">.icon-qingkongwendang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-juzhongfudong"></i>
                    <div class="name">居中浮动</div>
                    <div class="fontclass">.icon-juzhongfudong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-moren"></i>
                    <div class="name">默认</div>
                    <div class="fontclass">.icon-moren</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zitiyinying"></i>
                    <div class="name">字体阴影</div>
                    <div class="fontclass">.icon-zitiyinying</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shipin"></i>
                    <div class="name">视频</div>
                    <div class="fontclass">.icon-shipin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-702bianjiqi_zhongzuo"></i>
                    <div class="name">702编辑器_重做</div>
                    <div class="fontclass">.icon-702bianjiqi_zhongzuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-712bianjiqi_zidongpaiban"></i>
                    <div class="name">712编辑器_自动排版</div>
                    <div class="fontclass">.icon-712bianjiqi_zidongpaiban</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-761bianjiqi_teshuzifu"></i>
                    <div class="name">761编辑器_特殊字符</div>
                    <div class="fontclass">.icon-761bianjiqi_teshuzifu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiacu"></i>
                    <div class="name">加粗</div>
                    <div class="fontclass">.icon-jiacu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-word1"></i>
                    <div class="name">word</div>
                    <div class="fontclass">.icon-word1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liebiaowuxu"></i>
                    <div class="name">列表无序</div>
                    <div class="fontclass">.icon-liebiaowuxu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chaolianjie"></i>
                    <div class="name">超链接</div>
                    <div class="fontclass">.icon-chaolianjie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-beijingse"></i>
                    <div class="name">背景色</div>
                    <div class="fontclass">.icon-beijingse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zitiyanse"></i>
                    <div class="name">字体颜色</div>
                    <div class="fontclass">.icon-zitiyanse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-juzhong2"></i>
                    <div class="name">居中</div>
                    <div class="fontclass">.icon-juzhong2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hangjianju_icon"></i>
                    <div class="name">行间距_icon</div>
                    <div class="fontclass">.icon-hangjianju_icon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-toupiao"></i>
                    <div class="name">投票</div>
                    <div class="fontclass">.icon-toupiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tupian"></i>
                    <div class="name">图片 (1)</div>
                    <div class="fontclass">.icon-tupian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fengexian"></i>
                    <div class="name">分割线</div>
                    <div class="fontclass">.icon-fengexian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-quanping"></i>
                    <div class="name">全屏</div>
                    <div class="fontclass">.icon-quanping</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-comment-face3"></i>
                    <div class="name">表情</div>
                    <div class="fontclass">.icon-comment-face3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiahuaxian"></i>
                    <div class="name">下划线</div>
                    <div class="fontclass">.icon-xiahuaxian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caijiwenzhang"></i>
                    <div class="name">采集文章</div>
                    <div class="fontclass">.icon-caijiwenzhang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shanchuxian"></i>
                    <div class="name">删除线</div>
                    <div class="fontclass">.icon-shanchuxian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yinpin"></i>
                    <div class="name">音频</div>
                    <div class="fontclass">.icon-yinpin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qingchugeshi"></i>
                    <div class="name">清除格式</div>
                    <div class="fontclass">.icon-qingchugeshi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-biaoge"></i>
                    <div class="name">表格</div>
                    <div class="fontclass">.icon-biaoge</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liangbianduiqi1"></i>
                    <div class="name">两边对齐</div>
                    <div class="fontclass">.icon-liangbianduiqi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shangbiao"></i>
                    <div class="name">上标</div>
                    <div class="fontclass">.icon-shangbiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiabiao"></i>
                    <div class="name">下标</div>
                    <div class="fontclass">.icon-xiabiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-suojin"></i>
                    <div class="name">缩进</div>
                    <div class="fontclass">.icon-suojin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zifubiankuang"></i>
                    <div class="name">字符边框</div>
                    <div class="fontclass">.icon-zifubiankuang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yinyong"></i>
                    <div class="name">引用</div>
                    <div class="fontclass">.icon-yinyong</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
